#ifndef _DEFS_H_
#define _DEFS_H_

#define _VERBOSE_ 0 // Print out generally useless stuff
#define _LOG_  0  // Print out loging output, turn off for speed
#define VPRINTF(x) if(_VERBOSE_) printf x;
#define BZERO(x,z) memset(x,0,z)

#define BUFFERSIZE 1024 /* max size for recv buffer */
#define LOOP_BOUNDS 2 // Tolerance of the recv() loop.

#define _THREAD_POOL_ //Whether to spwan new threads for each connection
                      //or use pooling

#define DieWithError(msg) { \
  fprintf(stderr, "%s: PwnT! Error on line %d.\n", (msg), __LINE__); \
  perror(msg); \
  exit(EXIT_FAILURE);}
#endif
